﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Shop.Core;
using Shop.Intermediate.Data;
using DoNet.Common.Utilities;

namespace Shop.WebApp.SysBase
{
    public partial class WebForm1 : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            BasicDataCore basicDataCore = new BasicDataCore();
           // BasicTypeCore basicTypeCore = new BasicTypeCore();
            IBasicData entity = basicDataCore.GetEntity("zt_fd");

            Response.Write(entity.BasicTypeEntity.Name);

            //entity.BasicTypeEntity = basicTypeCore.NewBasicType();

            BasicTypeCore typeCore = new BasicTypeCore();

            var query = typeCore.GetList(3, null, null, null, null);

            foreach (var a in query)
            {
                Response.Write("<br>"+a.Name);
            }
        }

        protected void Button1_Click(object sender, EventArgs e)
        {
            MessageBox.Show(this.Page,"跳","DepartmentList.aspx");
        }
    }
}
